Subtyping patterns for active objects
نویسنده
چکیده
Subtyping relations for object-oriented formalisms describe relationships between superand subclasses which satisfy the substitutability requirement imposed on types and their subtypes. For active objects with an associated behaviour description subtyping relations also have to guarantee substitutability with respect to the dynamic behaviour of classes. In this paper, we give subtyping patterns for integrated object-oriented formalisms, that is, with a description of a static as well as a dynamic part. The patterns can be used to obtain subtypes by construction without computing the semantics of classes at all.
منابع مشابه
Patterns and Rules for Behavioural Subtyping
Subtyping relations for object-oriented formalisms describe relationships between superand subclasses which satisfy the substitutability requirement imposed on types and their subtypes. Behavioural subtyping is concerned with subtypes for active classes with an explicit dynamic behaviour, specifiable for instance by object-oriented formal methods combining state-based with behavioural formalism...
متن کاملPreventing Cross-Type Aliasing for More Practical Reasoning
To reason about the correctness of a method when cross-type aliases are possible, one must not only consider all possible patterns of aliasing among the method’s arguments, but all possible ways in which these types’ abstract (specification-only) fields may be aliased. Because of the large number of such aliasing possibilities, and because of the complications they cause for reasoning, cross-ty...
متن کاملTypes for Active Objects Based on Trace Semantics
Static typing and subtyping are useful for the support of incremental reenement and reuse in object-oriented languages. Although demanded, there is currently no appropriate type model for concurrent object-oriented languages that supports dynamic behavior modiications. We propose a type model based on a process calculus with trace semantics and demonstrate its use in a simple language. This mod...
متن کاملDrug Resistance Profile and Subtyping of HIV-1 RT Gene in Iranian Patients under Treatment
Identification of drug resistant mutations is important in the management of HIV-1 infected patients. The aim of the current study was to evaluate drug resistance profile of RT gene and assess subtype among HIV-1 circulating strains and intensification of physician’s options for the best therapy. HIV-1 RNA of 25 sampleswas extracted from plasma and RT Nested- PCR was performed and the fin...
متن کاملConcepts of Behavioral Subtyping and a Sketch of their Extension to Component-Based Systems
Object-oriented systems are able to treat objects indirectly by message passing. This allows them to manipulate objects without knowing their exact runtime type. Behavioral subtyping helps one reason in a modular fashion about such programs. That is, one can reason based on the static types of expressions in a program, provided that static types are upper bounds of the runtime types in a subtyp...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000